<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" template="/templates/ui.xhtml"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:define name="content">
		<div class="feature bg7">
			<h1 class="title">Register to Crystal Sky</h1>
			<h:form>
				<h:panelGrid border="0" columns="2">
					<h:outputText value="Last Name: "></h:outputText>
					<p:inputText id="lname" required="true"
						value="#{registerBean.lastname}"></p:inputText>
					<h:outputText value="First Name: "></h:outputText>
					<p:inputText id="fname" required="true"
						value="#{registerBean.firstname}"></p:inputText>
				</h:panelGrid>
				<p:commandButton value="Register Me" ajax="false"
					action="#{registerBean.registerUser}" />
			</h:form>		
		</div>
	</ui:define>
</ui:composition>